package cc.linker.steplink.crm.merchanth5.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SurvivalPushDao {
    List<Map> getSurvivals(Map map);

    Integer getTouchCount(Map map);

    void insertTouchCount(Map map);

    void addTouchNum(Map map);

    List<Map> getSurvivalContents(Map map);

    Integer getPushCount(Map map);

    List<String> getSurvivalContentValues(Map ret);

    String getTokenByOrgId(String orgId);

    Map getGoodsInfo(Map map);

    Map getEnrollInfo(Map ret);

    List<String> getLabelIds(@Param("labelNames") String labelNames,@Param("orgId") String orgId);

    Map getTokenAndOpenId(@Param("customerId") String customerId);

    void updateIsPush(Map ret);

    List<String> getUserLabelIdsByCustomerId(@Param("customerId") String customerId);

    void updatePushNum(Map ret);

    List<Map> getSurvivalTouchs(Map map);
}
